oracle.pgx.api

## Class AllPaths<ID extends Comparable<ID>>

- java.lang.Object
- - oracle.pgx.api.Destroyable
  - - oracle.pgx.api.AllPaths<ID>

- Type Parameters:
    `ID` - the vertex ID type
  All Implemented Interfaces:
    AutoCloseable

      public class AllPaths<ID extends Comparable<ID>>
      extends Destroyable

  The paths from one source vertex to all other vertices.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `PgxGraph` | `getGraph()` Gets the graph.
    `PgxPath<ID>` | `getPath(PgxVertex<ID> destination)` Gets the path.
    `PgxVertex<ID>` | `getSource()` Gets the source vertex
    `String` | `toString()`

    - ### Methods inherited from class oracle.pgx.api.Destroyable

      `close, destroy, destroyAsync`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getGraph

          public PgxGraph getGraph()

      Gets the graph.
      Returns:
        the graph

    - #### getPath

          public PgxPath<ID> getPath(PgxVertex<ID> destination)

      Gets the path.
      Parameters:
        `destination` - the destination node
      Returns:
        the path result to the destination node

    - #### getSource

          public PgxVertex<ID> getSource()

      Gets the source vertex
      Returns:
        the source vertex

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2015. All rights reserved.